﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using System.Data;
//using System.Data.SqlClient;

namespace DAO
{
    public class Login_DAO
    {

        private DataProvider _provider = new DataProvider();

        public Login_DAO()
        {
            _provider.connect();
        }

        public IDataReader Get_User(string Username)
        {
            return _provider.executeQueryRow("select Password from TableUser where Username = '" + Username + "'");
        }

    }
}
